package com.godofball.medtrack.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.godofball.medtrack.pojo.Purchase;
import com.godofball.medtrack.pojo.PurchaseDetail;
import com.godofball.medtrack.pojo.Warehouse;

import java.util.List;

public interface WarehouseService extends IService<Warehouse> {

    /**
     * 用户提交进货表单后，会将数据保存到库存表中
     * @param purchase
     * @param purchaseDetails
     */
    void save(Purchase purchase, List<PurchaseDetail> purchaseDetails);
}
